package libra.model;

import java.io.Serializable;

// 09、支付模块 12:02
public class JsonResult<T> implements Serializable {
	/** */
	private static final long serialVersionUID = 2467493785051163354L;
	private Integer code;
	private String msg;
	private T obj;
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public T getObj() {
		return obj;
	}
	public void setObj(T obj) {
		this.obj = obj;
	}
	public JsonResult(Integer code, String msg, T obj) {
		super();
		this.code = code;
		this.msg = msg;
		this.obj = obj;
	}
	public JsonResult() {
	}
}
